-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
#1697 - Fixed Hugo depericate warning on custom params #1699
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#1697 - Fixed Hugo depericate warning on custom params #1699
Conversation
❌ Deploy Preview for selenium-dev failed.
|
PR Description updated to latest commit (7807853)
|
PR Review
✨ Review tool usage guide:Overview: The tool can be triggered automatically every time a new PR is opened, or can be invoked manually by commenting on any PR.
See the review usage page for a comprehensive guide on using this tool. |
PR Code Suggestions
✨ Improve tool usage guide:Overview:
See the improve usage page for a comprehensive guide on using this tool. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for this, @chamiz!
Could you please help us update the version as well? I found a few places, there might be more:
- https://github.com/SeleniumHQ/seleniumhq.github.io/blob/trunk/README.md?plain=1#L14
- https://github.com/SeleniumHQ/seleniumhq.github.io/blob/trunk/netlify.toml
- https://github.com/SeleniumHQ/seleniumhq.github.io/blob/trunk/.github/workflows/deploy.yml
- https://github.com/SeleniumHQ/seleniumhq.github.io/blob/trunk/.github/workflows/test.yml
Thanks for reviewing. I will do those changes as well. |
cb981c7
to
a1d8247
Compare
@diemol Ready to merge. |
It seems the build is now failing. |
…niumHQ#1699 Fixed deprecated params. Updated Hugo and Docsy versions
06e680b
to
16f7fbe
Compare
yes. "no such template "_internal/google_analytics_async.html" Error. Also my bad, I forgot that I made that change locally. :) Until they make the release I will set the Hugo version to 0.124.1. |
…tom-params-on-the-language-top-level
Updated Hugo to 0.125.4 Updated Docsy to 0.10.0
…n-the-language-top-level' of https://github.com/chamiz/seleniumhq.github.io into SeleniumHQ#1697-Hugo-depericate-warning-custom-params-on-the-language-top-level
Docsy maintainers team bumped the version to 0.10.0 which has fix for "no such template "_internal/google_analytics_async.html" Error. |
The branch name you have Could you change the branch name so we can see the deployment, please? |
User description
Fixed Hugo depericate warning "custom params on the language top level was deprecated in Hugo v0.112.0 and will be removed in Hugo 0.126.0"
Fix for #1697
Thanks for contributing to the Selenium site and documentation!
A PR well described will help maintainers to review and merge it quickly
Before submitting your PR, please check our contributing guidelines.
Avoid large PRs, and help reviewers by making them as simple and short as possible.
Description
After updating hugo v0.125.4 , I'm getting "custom params on the language top level was deprecated in Hugo v0.112.0 and will be removed in Hugo 0.126.0"for several translations.
Motivation and Context
So as a fix, we need to put the values as suggested.
[languages.zh-cn.params]
Source
https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120
Types of changes
Checklist
Type
Enhancement
Description
hugo.toml
to move language-specific 'description' fields into a new 'params' sub-table for each language.Changes walkthrough
hugo.toml
Update Language Configurations to New Hugo Params Structure
website_and_docs/hugo.toml
adhere to Hugo's updated requirements.
English, Portuguese (Brazilian), Simplified Chinese, Japanese, and
Other.